<!doctype html>
<html>
<head>
  <meta charset="utf-8" />
  <title>掘金数据</title>
</head>
<body>
  <div id="root"></div>
  <script>
    // 这段代码要放在其他js的前面
    (function(){
      var redirect = sessionStorage.redirect;
      delete sessionStorage.redirect;
      if (redirect && redirect != location.href) {
        history.replaceState(null, null, redirect);
      }
    })();
  </script>
</body>
</html>